//
//  FYDowloader.m
//  ProjectDemo
//
//  Created by IOS3 on 2019/1/25.
//  Copyright © 2019 IOS3. All rights reserved.
//

#import "FYDowloader.h"
#import <AFNetworking.h>



@interface FYDowloader ()



@end
@implementation FYDowloader


- (void)download {
    
    
    NSURLSession *session = [NSURLSession sharedSession];
    
    NSURL *url = [NSURL URLWithString:@"http:\/\/tb-video.bdstatic.com\/tieba-smallvideo-transcode\/3244078_e1aedc1ba2e1d1228e6b0bcb72cbdffc_0.mp4"];
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    NSURLSessionDownloadTask *task = [session downloadTaskWithRequest:request];
    [task resume];
}

@end
